package com.lsege.service.backstage;

import com.lsege.entity.backstage.DeliveryProduct;
import com.lsege.mapper.backstage.DeliveryProductMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/8/3 0003.
 */
@Service
public class DeliveryProductServiceImpl implements DeliveryProductService {
    @Autowired
    DeliveryProductMapper deliveryProductMapper;

    @Override
    public List<DeliveryProduct> getDeliveryProduct() {
        return deliveryProductMapper.getDeliveryProduct();
    }

    @Override
    public void changeProduct(DeliveryProduct deliveryProduct) {
        deliveryProductMapper.changeProduct(deliveryProduct);
    }

    @Override
    public void deleteProduct(DeliveryProduct deliveryProduct) {
        deliveryProductMapper.deleteProduct(deliveryProduct);
    }
}
